project(test_project)

include_directories("${PROJECT_BINARY_DIR}")

set(test_flags "test_flags")
get_filename_component(mainname ${test_flags} NAME_WE)
add_executable("test_flags" test_flags.cc)
target_link_libraries(${test_flags}
    cpp_tools_flags
)

set(test_dlog "test_dlog")
get_filename_component(mainname ${test_dlog} NAME_WE)
add_executable("test_dlog" test_dlog.cc)
target_link_libraries(${test_dlog}
    cpp_tools_dlog
)

set(test_defer "test_defer")
get_filename_component(mainname ${test_defer} NAME_WE)
add_executable("test_defer" test_defer.cc)
target_link_libraries(${test_defer}
    cpp_tools_toolkit
    cpp_tools_flags
)

set(test_sk_storage "test_storage")
get_filename_component(mainname ${test_sk_storage} NAME_WE)
add_executable(${test_sk_storage} test_sk_storage.cc)
target_link_libraries(${test_sk_storage}
    cpp_tools_sk_storage
)